
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  
  <title>我的笔记</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="description" content="Termux,Linux学习笔记，为了记笔记，又顺便学习了点hexo">
<meta property="og:type" content="website">
<meta property="og:title" content="我的笔记">
<meta property="og:url" content="https://gitee.com/superigbt_superigbt/superigbt_superigbt/page/8/index.html">
<meta property="og:site_name" content="我的笔记">
<meta property="og:description" content="Termux,Linux学习笔记，为了记笔记，又顺便学习了点hexo">
<meta property="og:locale" content="zh_CN">
<meta property="article:author" content="Frank.Li">
<meta name="twitter:card" content="summary">
  
    <link rel="alternative" href="/atom.xml" title="我的笔记" type="application/atom+xml">
  
  
    <link rel="icon" href="/favicon.png">
  
  
<link rel="stylesheet" href="/css/style.css">

  <!--[if lt IE 9]><script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7/html5shiv.min.js"></script><![endif]-->
  
<meta name="generator" content="Hexo 6.0.0"></head>
<body>
<div id="container">
  <div id="wrap">
    <header id="header">
  <div id="banner"></div>
  <div id="header-outer" class="outer">
    <div id="header-title" class="inner">
      <h1 id="logo-wrap">
        <a href="/" id="logo">我的笔记</a>
      </h1>
      
    </div>
    <div id="header-inner" class="inner">
      <nav id="main-nav">
        <a id="main-nav-toggle" class="nav-icon"></a>
        
          <a class="main-nav-link" href="/">首页</a>
        
          <a class="main-nav-link" href="/archives">按时间</a>
        
          <a class="main-nav-link" href="/about">关于我</a>
        
          <a class="main-nav-link" href="/categories/%E6%91%98%E6%8A%84%E4%B8%8E%E9%9A%8F%E7%AC%94">摘抄，随笔</a>
        
          <a class="main-nav-link" href="/categories/%E5%BC%80%E5%85%B3%E7%94%B5%E6%BA%90">开关电源</a>
        
      </nav>
      <nav id="sub-nav">
        
          <a id="nav-rss-link" class="nav-icon" href="/atom.xml" title="RSS Feed"></a>
        
        <a id="nav-search-btn" class="nav-icon" title="Search"></a>
      </nav>
      <div id="search-form-wrap">
        <form action="//www.baidu.com/baidu" method="get" accept-charset="utf-8" class="search-form">
          <input type="search" name="word" maxlength="20" class="search-form-input" placeholder="Search">
          <input type="submit" value="" class="search-form-submit">
          <input name=tn type=hidden value="bds">
          <input name=cl type=hidden value="3">
          <input name=ct type=hidden value="2097152">
          <input type="hidden" name="si" value="gitee.com/superigbt_superigbt/superigbt_superigbt">
        </form>
      </div>
    </div>
  </div>
</header>
    <div class="outer">
      <section id="main">
  
    <article id="post-ubuntu-install-mysql" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2020/09/10/ubuntu-install-mysql/" class="article-date">
  <time datetime="2020-09-10T12:08:00.000Z" itemprop="datePublished">2020-09-10</time>
</a>
    
  <div class="article-category">
    <a class="article-category-link" href="/categories/mysql/">mysql</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2020/09/10/ubuntu-install-mysql/">ubuntu安装指定版本mysql</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <h4 id="下载需要的mysql版本"><a href="#下载需要的mysql版本" class="headerlink" title="下载需要的mysql版本"></a>下载需要的mysql版本</h4><pre><code>进入网址https://downloads.mysql.com/archives/community/，然后选择操作系统，与版本。后下载吧
</code></pre>
<p>主要文件有<br>libmysql*.deb<br>mysql-common*.deb<br>mysql-community-server_*.deb<br>mysql-community-client_*.deb</p>
<h4 id="开始安装"><a href="#开始安装" class="headerlink" title="开始安装"></a>开始安装</h4><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">$ sudo apt install libaio1</span><br><span class="line">$ sudo apt -f install <span class="comment"># 安装依赖</span></span><br><span class="line">$ sudo dpkg -i  lib*.deb <span class="comment">#很重要</span></span><br><span class="line">$ sudo dpkg -i mysql-common*.deb</span><br><span class="line">$ sudo dpkg -i mysql-community*.deb</span><br></pre></td></tr></table></figure>

      
    </div>
    <footer class="article-footer">
      
        <a data-url="https://gitee.com/superigbt_superigbt/superigbt_superigbt/2020/09/10/ubuntu-install-mysql/" data-id="cl7zulc8z006qeiq50pcv9gz7" class="article-share-link" data-share="baidu" data-title="ubuntu安装指定版本mysql">分享到</a>
      

      

      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/mysql/" rel="tag">mysql</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E5%BB%BA%E7%AB%99/" rel="tag">建站</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-ubuntu-lsb_release" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2020/09/06/ubuntu-lsb_release/" class="article-date">
  <time datetime="2020-09-06T01:57:24.000Z" itemprop="datePublished">2020-09-06</time>
</a>
    
  <div class="article-category">
    <a class="article-category-link" href="/categories/ubuntu%E7%BB%8F%E9%AA%8C/">ubuntu经验</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2020/09/06/ubuntu-lsb_release/">ubuntu如何安装lsb_release工具?</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <p>1.</p>
<h3 id="cat-etc-lsb-release-查看版本"><a href="#cat-etc-lsb-release-查看版本" class="headerlink" title="cat /etc/lsb_release  查看版本"></a>cat /etc/lsb_release  查看版本</h3><p>2.</p>
<h5 id="sudo-apt-install-lsb-core-y-安装命令"><a href="#sudo-apt-install-lsb-core-y-安装命令" class="headerlink" title="sudo apt install lsb-core -y  安装命令"></a>sudo apt install lsb-core -y  安装命令</h5><h5 id="lsb-release-a-验证安装是否成功，也是查看本ubuntu的版本"><a href="#lsb-release-a-验证安装是否成功，也是查看本ubuntu的版本" class="headerlink" title="lsb_release -a 验证安装是否成功，也是查看本ubuntu的版本"></a>lsb_release -a 验证安装是否成功，也是查看本ubuntu的版本</h5>
      
    </div>
    <footer class="article-footer">
      
        <a data-url="https://gitee.com/superigbt_superigbt/superigbt_superigbt/2020/09/06/ubuntu-lsb_release/" data-id="cl7zulc90006ueiq5fsus3q57" class="article-share-link" data-share="baidu" data-title="ubuntu如何安装lsb_release工具?">分享到</a>
      

      

      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/ubtunu%E7%89%88%E6%9C%AC/" rel="tag">ubtunu版本</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-ubtuntu-install-nodejs" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2020/08/30/ubtuntu-install-nodejs/" class="article-date">
  <time datetime="2020-08-30T11:30:24.000Z" itemprop="datePublished">2020-08-30</time>
</a>
    
  <div class="article-category">
    <a class="article-category-link" href="/categories/hexo/">hexo</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2020/08/30/ubtuntu-install-nodejs/">ubuntu安装最新版nodejs,以及安装hexo</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <h4 id="第一步，去-nodejs-官网-https-nodejs-org-看最新的版本号；"><a href="#第一步，去-nodejs-官网-https-nodejs-org-看最新的版本号；" class="headerlink" title="第一步，去 nodejs 官网 https://nodejs.org 看最新的版本号；"></a>第一步，去 nodejs 官网 <a target="_blank" rel="noopener" href="https://nodejs.org/">https://nodejs.org</a> 看最新的版本号；</h4><p>写本笔记时的最新版本是14.x.x</p>
<h4 id="第二步，添加源后安装"><a href="#第二步，添加源后安装" class="headerlink" title="第二步，添加源后安装"></a>第二步，添加源后安装</h4><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line">curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -</span><br><span class="line"><span class="comment">## 注意如果版本是16.15.2的话，就写setup_16.x</span></span><br><span class="line">sudo apt update</span><br><span class="line">sudo apt install nodejs</span><br><span class="line"><span class="comment"># 或者以下办法也可以安装</span></span><br><span class="line">wget -qO - https://deb.nodesource.com/setup_16.x | sudo bash -</span><br><span class="line">sudo apt-get install -qqy nodejs</span><br></pre></td></tr></table></figure>

<h4 id="安装完成后查看版本"><a href="#安装完成后查看版本" class="headerlink" title="安装完成后查看版本"></a>安装完成后查看版本</h4><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">node -v</span><br></pre></td></tr></table></figure>

<h4 id="对npm进行镜像加速"><a href="#对npm进行镜像加速" class="headerlink" title="对npm进行镜像加速"></a>对npm进行镜像加速</h4><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment"># 一、淘宝镜像源</span></span><br><span class="line">npm config <span class="built_in">set</span> registry https://registry.npm.taobao.org</span><br><span class="line"><span class="comment"># 验证</span></span><br><span class="line">npm config get registry</span><br><span class="line"><span class="comment"># 返回https://registry.npm.taobao.org，成功。</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># 二、华为云镜像源</span></span><br><span class="line">npm config <span class="built_in">set</span> registry https://mirrors.huaweicloud.com/repository/npm/</span><br><span class="line"><span class="comment"># 验证</span></span><br><span class="line">npm config get registry</span><br><span class="line"></span><br><span class="line"><span class="comment"># 三 通过使用淘宝cnpm安装</span></span><br><span class="line"><span class="comment"># 1. 安装cnpm</span></span><br><span class="line">npm install -g cnpm --registry=https://registry.npm.taobao.org</span><br><span class="line"><span class="comment"># 2. 使用cnpm</span></span><br><span class="line">cnpm install xxx</span><br><span class="line"></span><br><span class="line"><span class="comment"># 四. 取消镜像加速</span></span><br><span class="line"> npm config <span class="built_in">set</span> registry https://registry.npmjs.org/</span><br></pre></td></tr></table></figure>

<p>·</p>
<h4 id="安装hexo"><a href="#安装hexo" class="headerlink" title="安装hexo"></a>安装hexo</h4><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br></pre></td><td class="code"><pre><span class="line">$ npm install -g hexo</span><br><span class="line">$ apt install git <span class="comment"># 如果没有安装，在安装hexo会出错</span></span><br><span class="line">$ hexo init myblog <span class="comment"># 初始化目录</span></span><br><span class="line">$ <span class="built_in">cd</span> myblog</span><br><span class="line">$ npm install</span><br><span class="line">$ apt install openssl <span class="comment">#如果要部署到github或gitee，则必须装</span></span><br><span class="line">$ npm install hexo-deployer-git --save <span class="comment">#如果要部署到github或gitee，则必须装</span></span><br><span class="line">$ hexo s -p 80 强制为80端口</span><br></pre></td></tr></table></figure>
      
    </div>
    <footer class="article-footer">
      
        <a data-url="https://gitee.com/superigbt_superigbt/superigbt_superigbt/2020/08/30/ubtuntu-install-nodejs/" data-id="cl7zulc8r0064eiq52aa70e49" class="article-share-link" data-share="baidu" data-title="ubuntu安装最新版nodejs,以及安装hexo">分享到</a>
      

      

      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/hexo%E5%AE%89%E8%A3%85/" rel="tag">hexo安装</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/nodejs/" rel="tag">nodejs</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E5%BB%BA%E7%AB%99/" rel="tag">建站</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-vbox-load-folder" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2020/07/16/vbox-load-folder/" class="article-date">
  <time datetime="2020-07-16T05:38:00.000Z" itemprop="datePublished">2020-07-16</time>
</a>
    
  <div class="article-category">
    <a class="article-category-link" href="/categories/VirtualBox/">VirtualBox</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2020/07/16/vbox-load-folder/">VirtualBox下的linux挂载共享目录</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <h2 id="VirtualBox下的linux挂载共享目录"><a href="#VirtualBox下的linux挂载共享目录" class="headerlink" title="VirtualBox下的linux挂载共享目录"></a>VirtualBox下的linux挂载共享目录</h2><ol>
<li><p>启动虚拟机之前先设置好共享目录，比如目录名为’temp’</p>
</li>
<li><p>启动虚以主机的linux</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">$ <span class="built_in">cd</span> ~</span><br><span class="line">$ mkdir win7</span><br><span class="line">$ sudo mount -t vboxsf temp win7</span><br></pre></td></tr></table></figure></li>
<li><p>在 ~/win7 目录下就是主机共享的文件了</p>
</li>
</ol>

      
    </div>
    <footer class="article-footer">
      
        <a data-url="https://gitee.com/superigbt_superigbt/superigbt_superigbt/2020/07/16/vbox-load-folder/" data-id="cl7zulc9b007keiq58nd52ee2" class="article-share-link" data-share="baidu" data-title="VirtualBox下的linux挂载共享目录">分享到</a>
      

      

      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E6%A8%A1%E6%8B%9F%E5%99%A8-%E8%99%9A%E6%8B%9F%E6%9C%BA/" rel="tag">模拟器&#x2F;虚拟机</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-caddy-vtigerCRM" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2020/06/27/caddy-vtigerCRM/" class="article-date">
  <time datetime="2020-06-27T15:22:00.000Z" itemprop="datePublished">2020-06-27</time>
</a>
    
  <div class="article-category">
    <a class="article-category-link" href="/categories/caddy/">caddy</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2020/06/27/caddy-vtigerCRM/">在caddy安装VtigerCRM7.2</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <h2 id="以前是在LAMP下安装过vtigerCRM-但是在使用过caddy后，发现caddy实在是太好用了，方便简洁。就想能不能在caddy下安装配置呢？于是开试，本来菜鸟，走了好多弯路。于是成功后把步骤写来来。"><a href="#以前是在LAMP下安装过vtigerCRM-但是在使用过caddy后，发现caddy实在是太好用了，方便简洁。就想能不能在caddy下安装配置呢？于是开试，本来菜鸟，走了好多弯路。于是成功后把步骤写来来。" class="headerlink" title="以前是在LAMP下安装过vtigerCRM,但是在使用过caddy后，发现caddy实在是太好用了，方便简洁。就想能不能在caddy下安装配置呢？于是开试，本来菜鸟，走了好多弯路。于是成功后把步骤写来来。"></a>以前是在LAMP下安装过vtigerCRM,但是在使用过caddy后，发现caddy实在是太好用了，方便简洁。就想能不能在caddy下安装配置呢？于是开试，本来菜鸟，走了好多弯路。于是成功后把步骤写来来。</h2><h2 id="环境为-unbuntu20-04-php7-4-mysql8-0"><a href="#环境为-unbuntu20-04-php7-4-mysql8-0" class="headerlink" title="环境为 unbuntu20.04+php7.4+mysql8.0"></a>环境为 unbuntu20.04+php7.4+mysql8.0</h2><h4 id="一-安装php7-这里以7-4为例"><a href="#一-安装php7-这里以7-4为例" class="headerlink" title="一. 安装php7, 这里以7.4为例"></a>一. 安装php7, 这里以7.4为例</h4><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ sudo apt install -y php7.4-fpm php7.4-cli php7.4-json php7.4-curl php7.4-imap php7.4-gd php7.4-mysql php7.4-xml php7.4-zip php7.4-intl php7.4-imagick php7.4-mbstring php7.4-bcmath</span><br></pre></td></tr></table></figure>
<pre><code>以上php-fpm与caddy配置比较方便，别的组件在与mysql时会用到。
</code></pre>
<h4 id="二-安装-Mysql"><a href="#二-安装-Mysql" class="headerlink" title="二 .  安装 Mysql"></a>二 .  安装 Mysql</h4><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ sudo apt install mysql-server</span><br></pre></td></tr></table></figure>
<h4 id="三-安装caddy"><a href="#三-安装caddy" class="headerlink" title="三. 安装caddy"></a>三. 安装caddy</h4><ol>
<li>自动安装<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ sudo curl https://getcaddy.com | bash -s personal  <span class="comment">#方法一</span></span><br></pre></td></tr></table></figure>
<h3 id="caddy-v2-新的安装方法是"><a href="#caddy-v2-新的安装方法是" class="headerlink" title="caddy v2 新的安装方法是"></a>caddy v2 新的安装方法是</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">$ <span class="built_in">echo</span> <span class="string">&quot;deb [trusted=yes] https://apt.fury.io/caddy/ /&quot;</span> \</span><br><span class="line">    | sudo tee -a /etc/apt/sources.list.d/caddy-fury.list</span><br><span class="line">$ sudo apt update</span><br><span class="line">$ sudo apt install caddy</span><br></pre></td></tr></table></figure></li>
<li>手动安装<br>进入<a target="_blank" rel="noopener" href="https://caddyserver.com/download">https://caddyserver.com/download</a> 点这个链接进入到 caddy 官网的下载界面，网页左侧可以选择平台和插件，如果在 Linux 服务器上使用的话，platform 选择 Linux 64-bit 就可以了，plugins 如果暂时不需要的话，可以不选。然后点击下面的 DOWNLOAD 按钮，就下载到 caddy 了。同理，解压之后用 cp 命令放到 /usr/local/bin/caddy 就完成了安装。<h4 id="四-修改-php-配置文件"><a href="#四-修改-php-配置文件" class="headerlink" title="四. 修改 php 配置文件"></a>四. 修改 php 配置文件</h4></li>
</ol>
<h6 id="方法1"><a href="#方法1" class="headerlink" title="方法1"></a>方法1</h6><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">$ <span class="built_in">cd</span> /usr/<span class="built_in">local</span>/bin</span><br><span class="line">$ ls -l <span class="comment"># 查看caddy的用户名：组名，例如是 abc123:abc123</span></span><br><span class="line">$ sudo vim /etc/php/7.4/fpm/pool.d/www.conf <span class="comment"># 更改如下：</span></span><br></pre></td></tr></table></figure>

<blockquote>
<p>user = abc123<br>group = abc123</p>
</blockquote>
<blockquote>
<p>listen.owner = abc123<br>listen.group = abc123</p>
</blockquote>
<blockquote>
<p>pm.max_children = 60  ;改大<br>request_terminate_timeout = 100  ;改大</p>
</blockquote>
<h6 id="方法2"><a href="#方法2" class="headerlink" title="方法2"></a>方法2</h6><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">$ <span class="built_in">cd</span> /usr/<span class="built_in">local</span>/bin</span><br><span class="line">$ ls -l <span class="comment"># 查看caddy的用户名：组名，例如是 abc123:abc123</span></span><br><span class="line">$ sudo chown www-data.www-data caddy <span class="comment">#更改caddy所属的用户名：组名</span></span><br><span class="line">$ sudo vim /etc/php/7.4/fpm/pool.d/www.conf <span class="comment"># 更改如下：</span></span><br></pre></td></tr></table></figure>
<blockquote>
<p>pm.max_children = 60  ;改大<br>request_terminate_timeout = 100  ;改大</p>
</blockquote>
<h4 id="五-mysql-配置"><a href="#五-mysql-配置" class="headerlink" title="五. mysql 配置"></a>五. mysql 配置</h4><ol>
<li>修改 /etc/mysql/my.cnf 文件，增加语句<blockquote>
<p>[mysql]  #新增语句<br>default-character-set=utf8  #新增语句</p>
<p>[mysqld]  #新增语句<br>sql_mode=  #新增语句，vtigercrm语明要求为sql_mode值为空，很重要，主要是这一句要增加，不然安装进行不下去<br>!includedir /etc/mysql/conf.d/  #原语句<br>!includedir ——————  #原语句</p>
</blockquote>
</li>
<li>创建vtiger空数据库备用<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment"># 登录MySQL</span></span><br><span class="line">$ sudo mysql -u root</span><br><span class="line"></span><br><span class="line"><span class="comment"># 新建abc123账号，并设密码：10086, @&#x27;%&quot;的意思是外网可访问</span></span><br><span class="line">mysql&gt; create user <span class="string">&#x27;abc123&#x27;</span>@<span class="string">&#x27;%&#x27;</span> identified by <span class="string">&#x27;10086&#x27;</span>;</span><br><span class="line"></span><br><span class="line"><span class="comment"># 创建数据库，名字叫vtiger</span></span><br><span class="line">mysql&gt; create database vtiger;</span><br><span class="line"></span><br><span class="line"><span class="comment"># 使上述配置生效</span></span><br><span class="line">mysql&gt; flush privileges;</span><br><span class="line"></span><br><span class="line"><span class="comment"># 退出</span></span><br><span class="line">mysql&gt; <span class="built_in">exit</span>;</span><br><span class="line"></span><br><span class="line"><span class="comment"># 重新以root身份登录MySQL</span></span><br><span class="line">$ sudo mysql -u root</span><br><span class="line"><span class="comment"># 给abc123账号授权,对数据库vtiger进行所有操作权限</span></span><br><span class="line"> mysql&gt; grant all privileges on vtiger.* to <span class="string">&#x27;abc123&#x27;</span>@<span class="string">&#x27;%&#x27;</span> ;</span><br><span class="line"><span class="comment"># 使上述配置生效</span></span><br><span class="line">mysql&gt; flush privileges;</span><br><span class="line"><span class="comment"># 退出</span></span><br><span class="line">mysql&gt; <span class="built_in">exit</span>;</span><br><span class="line"></span><br><span class="line"><span class="comment"># 登录MySQL</span></span><br><span class="line">$ sudo mysql -u abc123 -p</span><br><span class="line">mysql&gt; show databases;</span><br><span class="line"><span class="comment"># 就可以看到用户abc123下的数据库有vtiger了</span></span><br><span class="line"></span><br><span class="line"></span><br><span class="line"><span class="comment"># 使上述配置生效</span></span><br><span class="line">mysql&gt; flush privileges;</span><br><span class="line"></span><br><span class="line"><span class="comment"># 退出</span></span><br><span class="line">mysql&gt; <span class="built_in">exit</span></span><br></pre></td></tr></table></figure>
<h4 id="六-Caddyfile"><a href="#六-Caddyfile" class="headerlink" title="六. Caddyfile"></a>六. Caddyfile</h4><blockquote>
<p>localhost:80 {<br>   gzip<br>   fastcgi / /run/php/php7.4-fpm.sock php {<br>   env PATH / bin<br>   ext .php<br>   split .php<br>   index index.php<br> }</p>
</blockquote>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ caddy</span><br></pre></td></tr></table></figure>
<h4 id="七-把下载的vtigercrm-tar解压到mywww目录下。"><a href="#七-把下载的vtigercrm-tar解压到mywww目录下。" class="headerlink" title="七. 把下载的vtigercrm.tar解压到mywww目录下。"></a>七. 把下载的vtigercrm.tar解压到mywww目录下。</h4><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">chown www-data:www-data -R ~/mywww/vtigercrm/</span><br><span class="line"></span><br><span class="line">chmod 755 -R ~/mywww/vtigercrm/</span><br></pre></td></tr></table></figure>
浏览器运行 localhost/vtigercrm 安装，快完成时会有504 Gateway Timeout，刷新就可以了。</li>
</ol>

      
    </div>
    <footer class="article-footer">
      
        <a data-url="https://gitee.com/superigbt_superigbt/superigbt_superigbt/2020/06/27/caddy-vtigerCRM/" data-id="cl7zulc60000seiq5hvxm1ynn" class="article-share-link" data-share="baidu" data-title="在caddy安装VtigerCRM7.2">分享到</a>
      

      

      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/caddy-Vtiger/" rel="tag">caddy+Vtiger</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E5%BB%BA%E7%AB%99/" rel="tag">建站</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-reinstall-mysql" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2020/06/27/reinstall-mysql/" class="article-date">
  <time datetime="2020-06-27T15:22:00.000Z" itemprop="datePublished">2020-06-27</time>
</a>
    
  <div class="article-category">
    <a class="article-category-link" href="/categories/mysql/">mysql</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2020/06/27/reinstall-mysql/">彻底清除mysql</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <h2 id="一次不小心把root用户删除了，在mysql8-0下，用老办法没有恢复成功，于是就删掉重装吧，如何彻底删除呢？"><a href="#一次不小心把root用户删除了，在mysql8-0下，用老办法没有恢复成功，于是就删掉重装吧，如何彻底删除呢？" class="headerlink" title="一次不小心把root用户删除了，在mysql8.0下，用老办法没有恢复成功，于是就删掉重装吧，如何彻底删除呢？"></a>一次不小心把root用户删除了，在mysql8.0下，用老办法没有恢复成功，于是就删掉重装吧，如何彻底删除呢？</h2><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">$ sudo apt-get remove mysql-common <span class="comment">#很重要</span></span><br><span class="line">$ sudo apt-get autoremove --purge mysql-server</span><br><span class="line">$ dpkg -l|grep ^rc|awk <span class="string">&#x27;&#123;print$2&#125;&#x27;</span>|sudo xargs dpkg -P <span class="comment">#清除残留数据</span></span><br><span class="line">$ dpkg --list|grep mysql <span class="comment"># 再次查看MySQL的剩余依赖项</span></span><br></pre></td></tr></table></figure>
<p>继续删除剩余依赖项，如：sudo apt-get autoremove –purge mysql-apt-config</p>
<h2 id="mysql的两个相关文件需要手动删除、一个是-var-lib-mysql、一个是-etc-mysql。当你删除之后再重新装、如果-var-lib-mysql文件没有删除、则会保留上一个数据库创建的实例、这个一般不是我们想要的、必须删除"><a href="#mysql的两个相关文件需要手动删除、一个是-var-lib-mysql、一个是-etc-mysql。当你删除之后再重新装、如果-var-lib-mysql文件没有删除、则会保留上一个数据库创建的实例、这个一般不是我们想要的、必须删除" class="headerlink" title="mysql的两个相关文件需要手动删除、一个是/var/lib/mysql、一个是/etc/mysql。当你删除之后再重新装、如果/var/lib/mysql文件没有删除、则会保留上一个数据库创建的实例、这个一般不是我们想要的、必须删除"></a>mysql的两个相关文件需要手动删除、一个是/var/lib/mysql、一个是/etc/mysql。当你删除之后再重新装、如果/var/lib/mysql文件没有删除、则会保留上一个数据库创建的实例、这个一般不是我们想要的、必须删除</h2>
      
    </div>
    <footer class="article-footer">
      
        <a data-url="https://gitee.com/superigbt_superigbt/superigbt_superigbt/2020/06/27/reinstall-mysql/" data-id="cl7zulc7d003beiq5eo7l5cd7" class="article-share-link" data-share="baidu" data-title="彻底清除mysql">分享到</a>
      

      

      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/mysql/" rel="tag">mysql</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-termux-init" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2020/06/18/termux-init/" class="article-date">
  <time datetime="2020-06-18T13:56:00.000Z" itemprop="datePublished">2020-06-18</time>
</a>
    
  <div class="article-category">
    <a class="article-category-link" href="/categories/termux/">termux</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2020/06/18/termux-init/">安装termux后的初始化</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <h4 id="换源-换源是为了更快的升级与安装软件"><a href="#换源-换源是为了更快的升级与安装软件" class="headerlink" title="换源,换源是为了更快的升级与安装软件"></a>换源,换源是为了更快的升级与安装软件</h4><p>新版的termux己经增加 termux-change-repo命令来换源了</p>
<h4 id="先升级-（最好先换国内源）"><a href="#先升级-（最好先换国内源）" class="headerlink" title="先升级 （最好先换国内源）"></a>先升级 （最好先换国内源）</h4><pre><code>$ pkg update
$ pkg upgrade
</code></pre>
<h4 id="如果字体太小或太大（蓝牙键盘或安装黑客键盘操作）"><a href="#如果字体太小或太大（蓝牙键盘或安装黑客键盘操作）" class="headerlink" title="如果字体太小或太大（蓝牙键盘或安装黑客键盘操作）"></a>如果字体太小或太大（蓝牙键盘或安装黑客键盘操作）</h4><pre><code>Ctrl+Alt+&quot;++&quot; 字体放大
Ctrl+Alt+&quot;--&quot; 字体缩小
</code></pre>
<h4 id="必要的设置"><a href="#必要的设置" class="headerlink" title="必要的设置"></a>必要的设置</h4><ol>
<li><p>$ termux-setup-storage  允许访问外部存储，会生成/home/storage目录</p>
</li>
<li><p>$ pkg install termux-exec 安装后执行termux-exec并生启，则可以解决脚本 #！/bin/bash出错问题。不过0.84以后的新版己经不用这个了。 </p>
</li>
<li><p>ln -s /data/data/com.termux/files/home/storage/shared/BaiduNetdisk baidu 为百度网盘创建快捷方式，以方便数据交换。或用以下方法</p>
</li>
<li><p>在/home目录下创建 .bash_profile文件，加入</p>
<blockquote>
<p>baidu=”/data/data/com.termux/files/home/storage/shared/BaiduNetdisk  保存并退出。<br> 以后进入时，只需要执行 $ cd $baidu</p>
</blockquote>
</li>
</ol>
<h4 id="必要的安装"><a href="#必要的安装" class="headerlink" title="必要的安装"></a>必要的安装</h4><ol>
<li>$ pkg install proot 安装proot</li>
<li>$ termux-chroot 模似root环境，执行exit命令可回到普通用户</li>
<li>$ pkg install curl wget git unzip unrar 一些必要的工具</li>
<li>$ pkg install vim</li>
<li>$ pkg install python</li>
<li>$ python -m pip install –upgrade pip</li>
<li>$ pkg install openssh 安装ssh server，方便通地电脑与手机的连接</li>
</ol>
<h4 id="ssh的设置与应用"><a href="#ssh的设置与应用" class="headerlink" title="ssh的设置与应用"></a>ssh的设置与应用</h4><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">$ pkg install openssh <span class="comment"># 安装 ssh</span></span><br><span class="line">$ passwd  <span class="comment"># 更扆本手机的termux用户密码，以方便电脑的ssh客户端与手机联络</span></span><br></pre></td></tr></table></figure>

<p>在电脑的终端上，与手机ssh联系的方法是：</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment"># 首先保证能互相 ping 通</span></span><br><span class="line">root@localhot: $ ssh -p 8022 u0_xxx@192.168.x.x 然后输入密码就行了。</span><br></pre></td></tr></table></figure>

<h4 id="终端显示用户名与路径，这样不用总是用whoami查用户名了"><a href="#终端显示用户名与路径，这样不用总是用whoami查用户名了" class="headerlink" title="终端显示用户名与路径，这样不用总是用whoami查用户名了"></a>终端显示用户名与路径，这样不用总是用whoami查用户名了</h4><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">$ termux-chroot</span><br><span class="line">$ vim /etc/profile</span><br><span class="line">在最后一行加上 PS1=<span class="string">&#x27;\u \W\n$ &#x27;</span> 保存，这样在终端会显是 用户名 路径  换行 $</span><br></pre></td></tr></table></figure>

<h4 id="为vim的-YouComplateme插件做准备的安装-一些python框架也会用到"><a href="#为vim的-YouComplateme插件做准备的安装-一些python框架也会用到" class="headerlink" title="为vim的 YouComplateme插件做准备的安装, 一些python框架也会用到"></a>为vim的 YouComplateme插件做准备的安装, 一些python框架也会用到</h4><ol>
<li>$ pkg install clang</li>
<li>$ pkg install cmake</li>
<li>$ pkg install python-dev</li>
<li>$ pkg install build-essential</li>
</ol>
<h3 id="缗辑快捷锓"><a href="#缗辑快捷锓" class="headerlink" title="缗辑快捷锓"></a>缗辑快捷锓</h3><ol>
<li>编辑~/.termux/termux.properties文件，如果没有目录与文件，就自己建立目录与文件。内容如下：<blockquote>
<p>extra-keys=[[‘ESC’,’UP’,’DOWN’,’LEFT’,’RIGHT’,’BKSP’,’/‘,’=’,’TAB’,’PGDN’,’PGUP’]]<br>extra-keys=[[‘ESC’,’UP’,’DOWN’,’LEFT’,’RIGHT’,’HOME’,’/‘,’END’,’TAB’,’PGDN’,’PGUP’]]<br>保存后，重开termux窗口就会显示</p>
</blockquote>
</li>
</ol>

      
    </div>
    <footer class="article-footer">
      
        <a data-url="https://gitee.com/superigbt_superigbt/superigbt_superigbt/2020/06/18/termux-init/" data-id="cl7zulc890054eiq5acgybdy8" class="article-share-link" data-share="baidu" data-title="安装termux后的初始化">分享到</a>
      

      

      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/termux/" rel="tag">termux</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E7%B3%BB%E7%BB%9F%E5%AE%89%E8%A3%85/" rel="tag">系统安装</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-vbox-console" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2020/06/18/vbox-console/" class="article-date">
  <time datetime="2020-06-18T01:38:00.000Z" itemprop="datePublished">2020-06-18</time>
</a>
    
  <div class="article-category">
    <a class="article-category-link" href="/categories/VirtualBox/">VirtualBox</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2020/06/18/vbox-console/">命令行启停VirtualBox</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <ol>
<li><p>列出运行的vbox虚拟机</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ VBoxManage list runningvms <span class="comment">#列出正在运行的虚拟机，例如名字为&quot;winxp&quot;</span></span><br></pre></td></tr></table></figure></li>
<li><p>正常关机</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ VBoxManage controlvm <span class="string">&quot;winxp&quot;</span> acpipowerbutton </span><br></pre></td></tr></table></figure>

<blockquote>
<p>要在虚拟机中的windowsXP中设置，“选择电源按钮功能—》按电源按钮时—-》关机“</p>
</blockquote>
</li>
<li><p>强制关机（非正常关机）</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ VBoxManage controlvm <span class="string">&quot;winxp&quot;</span> poweroff <span class="comment">#列出正在运行的虚拟机，例如名字为&quot;winxp&quot;</span></span><br></pre></td></tr></table></figure></li>
</ol>

      
    </div>
    <footer class="article-footer">
      
        <a data-url="https://gitee.com/superigbt_superigbt/superigbt_superigbt/2020/06/18/vbox-console/" data-id="cl7zulc99007ceiq5d9zkfnzg" class="article-share-link" data-share="baidu" data-title="命令行启停VirtualBox">分享到</a>
      

      

      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E6%A8%A1%E6%8B%9F%E5%99%A8-%E8%99%9A%E6%8B%9F%E6%9C%BA/" rel="tag">模拟器&#x2F;虚拟机</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-vbox-find-usbdevice" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2020/06/18/vbox-find-usbdevice/" class="article-date">
  <time datetime="2020-06-18T01:38:00.000Z" itemprop="datePublished">2020-06-18</time>
</a>
    
  <div class="article-category">
    <a class="article-category-link" href="/categories/VirtualBox/">VirtualBox</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2020/06/18/vbox-find-usbdevice/">VirtualBox找到USB外设</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <ol>
<li>$ whoami 比如返回当前用户名为 laoli</li>
<li>$ cat /etc/group|grep vboxusers 查看组vboxusers<br> 比如会返回 vboxusers:x:127</li>
<li>/usr/sbin/usermod -G vboxusers -a laoli</li>
<li>再次执行第二步看看<br> 如果返回 vboxusers:x:127:laoli，则表示成功了。<br> 然后重新在vbox的菜单上加载USB外设</li>
</ol>

      
    </div>
    <footer class="article-footer">
      
        <a data-url="https://gitee.com/superigbt_superigbt/superigbt_superigbt/2020/06/18/vbox-find-usbdevice/" data-id="cl7zulc9a007heiq5gh3xdmed" class="article-share-link" data-share="baidu" data-title="VirtualBox找到USB外设">分享到</a>
      

      

      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E6%A8%A1%E6%8B%9F%E5%99%A8-%E8%99%9A%E6%8B%9F%E6%9C%BA/" rel="tag">模拟器&#x2F;虚拟机</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-vim-hotkey" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2020/06/14/vim-hotkey/" class="article-date">
  <time datetime="2020-06-14T13:24:00.000Z" itemprop="datePublished">2020-06-14</time>
</a>
    
  <div class="article-category">
    <a class="article-category-link" href="/categories/%E5%BF%AB%E6%8D%B7%E9%94%AE/">快捷键</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2020/06/14/vim-hotkey/">vim快捷键</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <h3 id="一-快速移动到行尾或行首"><a href="#一-快速移动到行尾或行首" class="headerlink" title="一 快速移动到行尾或行首"></a>一 快速移动到行尾或行首</h3><ol>
<li>简单粗暴行<br> home键—-行首， end键—–行尾</li>
<li>组合键<blockquote>
<p>shift+6 也是 快捷键”^”——行道<br>shift+4 也是 快捷键”$”——行尾</p>
</blockquote>
</li>
<li>直接到编辑状态<blockquote>
<p>I—–跳到行首，并进入编辑状态<br>A—–跳到行尾，并进入编辑状态</p>
</blockquote>
<h3 id="二-移动光标"><a href="#二-移动光标" class="headerlink" title="二 移动光标"></a>二 移动光标</h3><blockquote>
<p>h: 左移<br>j: 下移<br>k: 上移<br>l: 右移<br>M: 光标移动到中间行<br>L: 光标移动到屏幕最后一行行首<br>G: 移动到指定行,行号 -G<br>w: 向后一次移动一个字<br>b: 向前一次移动一个字<br>{: 按段移动,上移<br>}: 按段移动,下移<br>Ctr-d: 向下翻半屏<br>Ctr-u: 向上翻半屏<br>Ctr-f: 向下翻一屏<br>Ctr-b: 向上翻一屏<br>gg: 光标移动文件开头<br>G: 光标移动到文件末尾</p>
</blockquote>
<h3 id="三-删除命令"><a href="#三-删除命令" class="headerlink" title="三 删除命令"></a>三 删除命令</h3><blockquote>
<p>x: 删除光标后一个字符,相当于 Del<br>X: 删除光标前一个字符,相当于 Backspace<br>dd: 删除光标所在行,n dd 删除指定的行数 D: 删除光标后本行所有内容,包含光标所在字符<br>d0: 删除光标前本行所有内容,不包含光标所在字符<br>dw: 删除光标开始位置的字,包含光标所在字符</p>
</blockquote>
<h3 id="四-撤销命令"><a href="#四-撤销命令" class="headerlink" title="四 撤销命令:"></a>四 撤销命令:</h3><blockquote>
<p>u: 一步一步撤销，也称为后悔键<br>Ctr-r: 反撤销</p>
</blockquote>
<h3 id="五-查找命令-gt"><a href="#五-查找命令-gt" class="headerlink" title="五 查找命令:&gt;"></a>五 查找命令:&gt;</h3><blockquote>
<p>/: str查找<br>n: 下一个<br>N：上一个</p>
</blockquote>
<h3 id="六-编辑键"><a href="#六-编辑键" class="headerlink" title="六 编辑键"></a>六 编辑键</h3><blockquote>
<p>yy: 复制一行    nyy： 复制n行<br>dd: 删除一行    12dd:  删除12行<br>p:  黏贴        3p:   黏贴三次</p>
</blockquote>
<h3 id="七-替换字符串"><a href="#七-替换字符串" class="headerlink" title="七 替换字符串"></a>七 替换字符串</h3>例如： 把文档中所有的 ports.ubuntu.org替换为阿里源 mirrors.aliyun.com<br>:%s/ports.ubuntu.org/mirrors.aliyun.com/g </li>
</ol>

      
    </div>
    <footer class="article-footer">
      
        <a data-url="https://gitee.com/superigbt_superigbt/superigbt_superigbt/2020/06/14/vim-hotkey/" data-id="cl7zulc9e007qeiq5et3k3orb" class="article-share-link" data-share="baidu" data-title="vim快捷键">分享到</a>
      

      

      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/vim/" rel="tag">vim</a></li></ul>

    </footer>
  </div>
  
</article>


  


  <nav id="page-nav">
    <a class="extend prev" rel="prev" href="/page/7/">&amp;laquo; 上一页</a><a class="page-number" href="/">1</a><span class="space">&hellip;</span><a class="page-number" href="/page/6/">6</a><a class="page-number" href="/page/7/">7</a><span class="page-number current">8</span><a class="page-number" href="/page/9/">9</a><a class="page-number" href="/page/10/">10</a><a class="extend next" rel="next" href="/page/9/">下一页 &amp;raquo;</a>
  </nav>
</section>
      
      <aside id="sidebar">
  
    
  <div class="widget-wrap">
    <h3 class="widget-title">分类</h3>
    <div class="widget">
      <ul class="category-list"><li class="category-list-item"><a class="category-list-link" href="/categories/Linux/">Linux</a><span class="category-list-count">5</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/VirtualBox/">VirtualBox</a><span class="category-list-count">5</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/caddy/">caddy</a><span class="category-list-count">4</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/cygwin/">cygwin</a><span class="category-list-count">2</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/hexo/">hexo</a><span class="category-list-count">5</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/linux%E6%A1%8C%E9%9D%A2/">linux桌面</a><span class="category-list-count">4</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/mysql/">mysql</a><span class="category-list-count">2</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/python%E5%AD%A6%E4%B9%A0/">python学习</a><span class="category-list-count">19</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/termux/">termux</a><span class="category-list-count">20</span><ul class="category-list-child"><li class="category-list-item"><a class="category-list-link" href="/categories/termux/caddy/">caddy</a><span class="category-list-count">1</span></li></ul></li><li class="category-list-item"><a class="category-list-link" href="/categories/ubuntu%E7%BB%8F%E9%AA%8C/">ubuntu经验</a><span class="category-list-count">12</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/win10/">win10</a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E5%BB%BA%E7%AB%99/">建站</a><span class="category-list-count">3</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E5%BC%80%E5%85%B3%E7%94%B5%E6%BA%90/">开关电源</a><span class="category-list-count">3</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E5%BF%AB%E6%8D%B7%E9%94%AE/">快捷键</a><span class="category-list-count">2</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E6%89%8B%E6%9C%BA%E7%94%B5%E8%84%91%E4%BA%92%E8%81%94/">手机电脑互联</a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/%E6%91%98%E6%8A%84%E4%B8%8E%E9%9A%8F%E7%AC%94/">摘抄与随笔</a><span class="category-list-count">10</span></li></ul>
    </div>
  </div>

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">标签</h3>
    <div class="widget">
      <ul class="tag-list" itemprop="keywords"><li class="tag-list-item"><a class="tag-list-link" href="/tags/Anlinux/" rel="tag">Anlinux</a><span class="tag-list-count">10</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/LAMP/" rel="tag">LAMP</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Linux/" rel="tag">Linux</a><span class="tag-list-count">4</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Linux%E8%AE%BE%E7%BD%AE/" rel="tag">Linux设置</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/caddy/" rel="tag">caddy</a><span class="tag-list-count">2</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/caddy-PHP/" rel="tag">caddy+PHP</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/caddy-Vtiger/" rel="tag">caddy+Vtiger</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/caddyV2/" rel="tag">caddyV2</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/code-server/" rel="tag">code-server</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/cygwin/" rel="tag">cygwin</a><span class="tag-list-count">2</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/flask%E6%A1%86%E6%9E%B6/" rel="tag">flask框架</a><span class="tag-list-count">10</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/fluxbox/" rel="tag">fluxbox</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/hexo/" rel="tag">hexo</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/hexo%E4%B8%BB%E9%A2%98/" rel="tag">hexo主题</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/hexo%E5%AE%89%E8%A3%85/" rel="tag">hexo安装</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/hexo%E9%83%A8%E7%BD%B2/" rel="tag">hexo部署</a><span class="tag-list-count">2</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/icewm/" rel="tag">icewm</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/lamp-phpmyadmin/" rel="tag">lamp+phpmyadmin</a><span class="tag-list-count">2</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/linux/" rel="tag">linux</a><span class="tag-list-count">5</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/lumina%E6%A1%8C%E9%9D%A2/" rel="tag">lumina桌面</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/markdown%E8%A1%A8%E6%A0%BC/" rel="tag">markdown表格</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/mysql/" rel="tag">mysql</a><span class="tag-list-count">2</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/nodejs/" rel="tag">nodejs</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/openbox/" rel="tag">openbox</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/pandas%E5%AD%A6%E4%B9%A0/" rel="tag">pandas学习</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/qemu/" rel="tag">qemu</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/sftp/" rel="tag">sftp</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/ssh/" rel="tag">ssh</a><span class="tag-list-count">2</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/streamlit-%E6%A1%86%E6%9E%B6/" rel="tag">streamlit 框架</a><span class="tag-list-count">8</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/termux/" rel="tag">termux</a><span class="tag-list-count">12</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/termux-proot-distro/" rel="tag">termux-proot-distro</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/termux%E6%A1%8C%E9%9D%A2/" rel="tag">termux桌面</a><span class="tag-list-count">3</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/ternux/" rel="tag">ternux</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/tmux/" rel="tag">tmux</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/ubtunu%E7%89%88%E6%9C%AC/" rel="tag">ubtunu版本</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/ubuntu-reWifi/" rel="tag">ubuntu-reWifi</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/ubuntu%E4%BF%AE%E6%94%B9DNS/" rel="tag">ubuntu修改DNS</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/ubuntu%E7%BB%8F%E9%AA%8C/" rel="tag">ubuntu经验</a><span class="tag-list-count">7</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/vim/" rel="tag">vim</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/vscode/" rel="tag">vscode</a><span class="tag-list-count">2</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/wcode/" rel="tag">wcode</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/webbrowser-termux/" rel="tag">webbrowser termux</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E5%8D%9A%E5%AE%A2/" rel="tag">博客</a><span class="tag-list-count">4</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E5%BB%BA%E7%AB%99/" rel="tag">建站</a><span class="tag-list-count">18</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E5%BC%80%E5%85%B3%E7%94%B5%E6%BA%90%E5%9F%BA%E7%A1%80/" rel="tag">开关电源基础</a><span class="tag-list-count">3</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E6%89%8B%E6%9C%BA%E6%8A%95%E5%B1%8F%E8%BD%AF%E4%BB%B6scrcpy/" rel="tag">手机投屏软件scrcpy</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E6%8D%A2%E6%BA%90/" rel="tag">换源</a><span class="tag-list-count">2</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E6%8E%A7%E5%88%B6%E5%8F%B0/" rel="tag">控制台</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E6%97%85%E6%B8%B8%E6%94%BB%E7%95%A5/" rel="tag">旅游攻略</a><span class="tag-list-count">2</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0/" rel="tag">机器学习</a><span class="tag-list-count">8</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E6%9E%81%E7%AE%80%E6%A1%8C%E9%9D%A2/" rel="tag">极简桌面</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E6%A8%A1%E6%8B%9F%E5%99%A8-%E8%99%9A%E6%8B%9F%E6%9C%BA/" rel="tag">模拟器&#x2F;虚拟机</a><span class="tag-list-count">6</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E7%B3%BB%E7%BB%9F%E5%AE%89%E8%A3%85/" rel="tag">系统安装</a><span class="tag-list-count">5</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E7%BC%96%E8%BE%91%E5%99%A8/" rel="tag">编辑器</a><span class="tag-list-count">5</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E8%99%9A%E6%8B%9F%E6%9C%BA/" rel="tag">虚拟机</a><span class="tag-list-count">2</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E8%B6%A3%E8%A8%80/" rel="tag">趣言</a><span class="tag-list-count">4</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E8%BF%9C%E7%A8%8B%E6%A1%8C%E9%9D%A2/" rel="tag">远程桌面</a><span class="tag-list-count">2</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E9%9A%8F%E7%AC%94/" rel="tag">随笔</a><span class="tag-list-count">4</span></li></ul>
    </div>
  </div>

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">标签云</h3>
    <div class="widget tagcloud">
      <a href="/tags/Anlinux/" style="font-size: 18px;">Anlinux</a> <a href="/tags/LAMP/" style="font-size: 10px;">LAMP</a> <a href="/tags/Linux/" style="font-size: 13px;">Linux</a> <a href="/tags/Linux%E8%AE%BE%E7%BD%AE/" style="font-size: 10px;">Linux设置</a> <a href="/tags/caddy/" style="font-size: 11px;">caddy</a> <a href="/tags/caddy-PHP/" style="font-size: 10px;">caddy+PHP</a> <a href="/tags/caddy-Vtiger/" style="font-size: 10px;">caddy+Vtiger</a> <a href="/tags/caddyV2/" style="font-size: 10px;">caddyV2</a> <a href="/tags/code-server/" style="font-size: 10px;">code-server</a> <a href="/tags/cygwin/" style="font-size: 11px;">cygwin</a> <a href="/tags/flask%E6%A1%86%E6%9E%B6/" style="font-size: 18px;">flask框架</a> <a href="/tags/fluxbox/" style="font-size: 10px;">fluxbox</a> <a href="/tags/hexo/" style="font-size: 10px;">hexo</a> <a href="/tags/hexo%E4%B8%BB%E9%A2%98/" style="font-size: 10px;">hexo主题</a> <a href="/tags/hexo%E5%AE%89%E8%A3%85/" style="font-size: 10px;">hexo安装</a> <a href="/tags/hexo%E9%83%A8%E7%BD%B2/" style="font-size: 11px;">hexo部署</a> <a href="/tags/icewm/" style="font-size: 10px;">icewm</a> <a href="/tags/lamp-phpmyadmin/" style="font-size: 11px;">lamp+phpmyadmin</a> <a href="/tags/linux/" style="font-size: 14px;">linux</a> <a href="/tags/lumina%E6%A1%8C%E9%9D%A2/" style="font-size: 10px;">lumina桌面</a> <a href="/tags/markdown%E8%A1%A8%E6%A0%BC/" style="font-size: 10px;">markdown表格</a> <a href="/tags/mysql/" style="font-size: 11px;">mysql</a> <a href="/tags/nodejs/" style="font-size: 10px;">nodejs</a> <a href="/tags/openbox/" style="font-size: 10px;">openbox</a> <a href="/tags/pandas%E5%AD%A6%E4%B9%A0/" style="font-size: 10px;">pandas学习</a> <a href="/tags/qemu/" style="font-size: 10px;">qemu</a> <a href="/tags/sftp/" style="font-size: 10px;">sftp</a> <a href="/tags/ssh/" style="font-size: 11px;">ssh</a> <a href="/tags/streamlit-%E6%A1%86%E6%9E%B6/" style="font-size: 17px;">streamlit 框架</a> <a href="/tags/termux/" style="font-size: 19px;">termux</a> <a href="/tags/termux-proot-distro/" style="font-size: 10px;">termux-proot-distro</a> <a href="/tags/termux%E6%A1%8C%E9%9D%A2/" style="font-size: 12px;">termux桌面</a> <a href="/tags/ternux/" style="font-size: 10px;">ternux</a> <a href="/tags/tmux/" style="font-size: 10px;">tmux</a> <a href="/tags/ubtunu%E7%89%88%E6%9C%AC/" style="font-size: 10px;">ubtunu版本</a> <a href="/tags/ubuntu-reWifi/" style="font-size: 10px;">ubuntu-reWifi</a> <a href="/tags/ubuntu%E4%BF%AE%E6%94%B9DNS/" style="font-size: 10px;">ubuntu修改DNS</a> <a href="/tags/ubuntu%E7%BB%8F%E9%AA%8C/" style="font-size: 16px;">ubuntu经验</a> <a href="/tags/vim/" style="font-size: 10px;">vim</a> <a href="/tags/vscode/" style="font-size: 11px;">vscode</a> <a href="/tags/wcode/" style="font-size: 10px;">wcode</a> <a href="/tags/webbrowser-termux/" style="font-size: 10px;">webbrowser termux</a> <a href="/tags/%E5%8D%9A%E5%AE%A2/" style="font-size: 13px;">博客</a> <a href="/tags/%E5%BB%BA%E7%AB%99/" style="font-size: 20px;">建站</a> <a href="/tags/%E5%BC%80%E5%85%B3%E7%94%B5%E6%BA%90%E5%9F%BA%E7%A1%80/" style="font-size: 12px;">开关电源基础</a> <a href="/tags/%E6%89%8B%E6%9C%BA%E6%8A%95%E5%B1%8F%E8%BD%AF%E4%BB%B6scrcpy/" style="font-size: 10px;">手机投屏软件scrcpy</a> <a href="/tags/%E6%8D%A2%E6%BA%90/" style="font-size: 11px;">换源</a> <a href="/tags/%E6%8E%A7%E5%88%B6%E5%8F%B0/" style="font-size: 10px;">控制台</a> <a href="/tags/%E6%97%85%E6%B8%B8%E6%94%BB%E7%95%A5/" style="font-size: 11px;">旅游攻略</a> <a href="/tags/%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0/" style="font-size: 17px;">机器学习</a> <a href="/tags/%E6%9E%81%E7%AE%80%E6%A1%8C%E9%9D%A2/" style="font-size: 10px;">极简桌面</a> <a href="/tags/%E6%A8%A1%E6%8B%9F%E5%99%A8-%E8%99%9A%E6%8B%9F%E6%9C%BA/" style="font-size: 15px;">模拟器/虚拟机</a> <a href="/tags/%E7%B3%BB%E7%BB%9F%E5%AE%89%E8%A3%85/" style="font-size: 14px;">系统安装</a> <a href="/tags/%E7%BC%96%E8%BE%91%E5%99%A8/" style="font-size: 14px;">编辑器</a> <a href="/tags/%E8%99%9A%E6%8B%9F%E6%9C%BA/" style="font-size: 11px;">虚拟机</a> <a href="/tags/%E8%B6%A3%E8%A8%80/" style="font-size: 13px;">趣言</a> <a href="/tags/%E8%BF%9C%E7%A8%8B%E6%A1%8C%E9%9D%A2/" style="font-size: 11px;">远程桌面</a> <a href="/tags/%E9%9A%8F%E7%AC%94/" style="font-size: 13px;">随笔</a>
    </div>
  </div>

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">归档</h3>
    <div class="widget">
      <ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2022/10/">十月 2022</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2022/09/">九月 2022</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2022/06/">六月 2022</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2022/05/">五月 2022</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2022/03/">三月 2022</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2022/02/">二月 2022</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2022/01/">一月 2022</a><span class="archive-list-count">5</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/12/">十二月 2021</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/11/">十一月 2021</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/10/">十月 2021</a><span class="archive-list-count">5</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/09/">九月 2021</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/08/">八月 2021</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/07/">七月 2021</a><span class="archive-list-count">5</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/06/">六月 2021</a><span class="archive-list-count">10</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/03/">三月 2021</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/02/">二月 2021</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/01/">一月 2021</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/11/">十一月 2020</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/10/">十月 2020</a><span class="archive-list-count">6</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/09/">九月 2020</a><span class="archive-list-count">9</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/08/">八月 2020</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/07/">七月 2020</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/06/">六月 2020</a><span class="archive-list-count">9</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/05/">五月 2020</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/04/">四月 2020</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/03/">三月 2020</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/02/">二月 2020</a><span class="archive-list-count">7</span></li></ul>
    </div>
  </div>

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">近期文章</h3>
    <div class="widget">
      <ul>
        
          <li>
            <a href="/2022/10/08/linux-calibrate-screen-colors/">Ubuntu 屏幕颜色校准</a>
          </li>
        
          <li>
            <a href="/2022/10/07/debootstrap2/">debootstrap学习笔记2</a>
          </li>
        
          <li>
            <a href="/2022/10/06/debootstrap1/">debootstrap学习笔记1</a>
          </li>
        
          <li>
            <a href="/2022/10/06/ubuntu-install-wine/">ubuntu安装Wine</a>
          </li>
        
          <li>
            <a href="/2022/09/13/excerpt6/">摘抄2---中国真心不容易</a>
          </li>
        
      </ul>
    </div>
  </div>

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">友情链接</h3>
    <div class="widget">
      <ul>
        
          <li>
            <a href="https://superigbt_superigbt.gitee.io/" target="_blank">My-gitee</a>
          </li>
        
          <li>
            <a href="https://superigbt.github.io/" target="_blank">My-github</a>
          </li>
        
          <li>
            <a href="https://hexo.io/themes/" target="_blank">Hexo主题</a>
          </li>
        
          <li>
            <a href="https://github.com/termux/termux-app/releases" target="_blank">Texmux神器</a>
          </li>
        
      </ul>
    </div>
  </div>

  
</aside>
      
    </div>
    <footer id="footer">
  
  <div class="outer">
    <div id="footer-info" class="inner">
      &copy; 2022 Frank.Li<br>
      Powered by <a href="//hexo.io/" target="_blank">Hexo</a>
      .
      Theme by <a href="https://github.com/xiangming/landscape-plus" target="_blank">Landscape-plus</a>
    </div>
  </div>
</footer>
  </div>
  <nav id="mobile-nav">
  
    <a href="/" class="mobile-nav-link">首页</a>
  
    <a href="/archives" class="mobile-nav-link">按时间</a>
  
    <a href="/about" class="mobile-nav-link">关于我</a>
  
    <a href="/categories/%E6%91%98%E6%8A%84%E4%B8%8E%E9%9A%8F%E7%AC%94" class="mobile-nav-link">摘抄，随笔</a>
  
    <a href="/categories/%E5%BC%80%E5%85%B3%E7%94%B5%E6%BA%90" class="mobile-nav-link">开关电源</a>
  
</nav>
  <!-- totop start -->
<div id="totop">
<a title="返回顶部"><img src="/img/scrollup.png"/></a>
</div>

<!-- totop end -->


<!-- 百度分享 start -->

<div id="article-share-box" class="article-share-box">
  <div id="bdshare" class="bdsharebuttonbox article-share-links">
    <a class="article-share-weibo" data-cmd="tsina" title="分享到新浪微博"></a>
    <a class="article-share-weixin" data-cmd="weixin" title="分享到微信"></a>
    <a class="article-share-qq" data-cmd="sqq" title="分享到QQ"></a>
    <a class="article-share-renren" data-cmd="renren" title="分享到人人网"></a>
    <a class="article-share-more" data-cmd="more" title="更多"></a>
  </div>
</div>
<script>
  function SetShareData(cmd, config) {
    if (shareDataTitle && shareDataUrl) {
      config.bdText = shareDataTitle;
      config.bdUrl = shareDataUrl;
    }
    return config;
  }
  window._bd_share_config={
    "common":{onBeforeClick: SetShareData},
    "share":{"bdCustomStyle":"/css/bdshare.css"}
  };
  with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='//bdimg.share.baidu.com/static/api/js/share.js?cdnversion='+~(-new Date()/36e5)];
</script>

<!-- 百度分享 end -->

<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>





<script src="/js/script.js"></script>


</div>
</body>
</html>
